package app.socket.server;

import common.socket.server.CustomServerPacketHandler;

public class GetHandler {

	//String protocolNo = null;
	
	public GetHandler()
	{

		
	}
	
	
	public static CustomServerPacketHandler getHandler(int protocolNo)
	{
		//this.protocolNo = protocolNo;
		CustomServerPacketHandler handler = null;
		
		switch(protocolNo)
		{
		case 1:
			handler =  new LoginHandler();
			break;
		case 2:
			handler =  new FindTaskRequestHandler();
			break;
			
		}
		return handler;
		
	}
	
}
